//
//  WebView.m
//  GCDPOSTJSON
//
//  Created by liudonghuan on 14-8-20.
//  Copyright (c) 2014年 liudonghuan. All rights reserved.
//

#import "WebView.h"

@implementation WebView
@synthesize webview = _webview;
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _webview = [[UIWebView alloc]initWithFrame:CGRectMake(0,0 , SCREEN_WIDTH, SCREEN_HEIGHT-TOPBAR-STATUSBAR)];
        [self addSubview:_webview];
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
